package com.example.victory.swagger.model;

import java.util.Objects;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModelProperty;
import java.util.ArrayList;
import java.util.List;
import org.springframework.validation.annotation.Validated;
import javax.validation.Valid;

/**
 * ApiResponseCustomerOverAllTradeNormalBigdataData
 */
@Validated
@javax.annotation.Generated(value = "io.swagger.codegen.languages.SpringCodegen", date = "2021-04-26T10:50:39.083+08:00")

public class ApiResponseCustomerOverAllTradeNormalBigdataData   {
  @JsonProperty("jumpUrl")
  private String jumpUrl = null;

  @JsonProperty("transit")
  private String transit = null;

  @JsonProperty("info")
  @Valid
  private List<NameValueStrResp> info = null;

  @JsonProperty("hold")
  private ApiResponseCustomerOverAllTradeNormalBigdataDataHold hold = null;

  @JsonProperty("entrust")
  @Valid
  private List<Entrust> entrust = null;

  @JsonProperty("bargain")
  @Valid
  private List<BargainEntrust> bargain = null;

  public ApiResponseCustomerOverAllTradeNormalBigdataData jumpUrl(String jumpUrl) {
    this.jumpUrl = jumpUrl;
    return this;
  }

  /**
   * 原生跳h5Bean
   * @return jumpUrl
  **/
  @ApiModelProperty(value = "原生跳h5Bean")


  public String getJumpUrl() {
    return jumpUrl;
  }

  public void setJumpUrl(String jumpUrl) {
    this.jumpUrl = jumpUrl;
  }

  public ApiResponseCustomerOverAllTradeNormalBigdataData transit(String transit) {
    this.transit = transit;
    return this;
  }

  /**
   * 在途资金
   * @return transit
  **/
  @ApiModelProperty(value = "在途资金")


  public String getTransit() {
    return transit;
  }

  public void setTransit(String transit) {
    this.transit = transit;
  }

  public ApiResponseCustomerOverAllTradeNormalBigdataData info(List<NameValueStrResp> info) {
    this.info = info;
    return this;
  }

  public ApiResponseCustomerOverAllTradeNormalBigdataData addInfoItem(NameValueStrResp infoItem) {
    if (this.info == null) {
      this.info = new ArrayList<NameValueStrResp>();
    }
    this.info.add(infoItem);
    return this;
  }

  /**
   * Get info
   * @return info
  **/
  @ApiModelProperty(value = "")

  @Valid

  public List<NameValueStrResp> getInfo() {
    return info;
  }

  public void setInfo(List<NameValueStrResp> info) {
    this.info = info;
  }

  public ApiResponseCustomerOverAllTradeNormalBigdataData hold(ApiResponseCustomerOverAllTradeNormalBigdataDataHold hold) {
    this.hold = hold;
    return this;
  }

  /**
   * Get hold
   * @return hold
  **/
  @ApiModelProperty(value = "")

  @Valid

  public ApiResponseCustomerOverAllTradeNormalBigdataDataHold getHold() {
    return hold;
  }

  public void setHold(ApiResponseCustomerOverAllTradeNormalBigdataDataHold hold) {
    this.hold = hold;
  }

  public ApiResponseCustomerOverAllTradeNormalBigdataData entrust(List<Entrust> entrust) {
    this.entrust = entrust;
    return this;
  }

  public ApiResponseCustomerOverAllTradeNormalBigdataData addEntrustItem(Entrust entrustItem) {
    if (this.entrust == null) {
      this.entrust = new ArrayList<Entrust>();
    }
    this.entrust.add(entrustItem);
    return this;
  }

  /**
   * 委托
   * @return entrust
  **/
  @ApiModelProperty(value = "委托")

  @Valid

  public List<Entrust> getEntrust() {
    return entrust;
  }

  public void setEntrust(List<Entrust> entrust) {
    this.entrust = entrust;
  }

  public ApiResponseCustomerOverAllTradeNormalBigdataData bargain(List<BargainEntrust> bargain) {
    this.bargain = bargain;
    return this;
  }

  public ApiResponseCustomerOverAllTradeNormalBigdataData addBargainItem(BargainEntrust bargainItem) {
    if (this.bargain == null) {
      this.bargain = new ArrayList<BargainEntrust>();
    }
    this.bargain.add(bargainItem);
    return this;
  }

  /**
   * 成交
   * @return bargain
  **/
  @ApiModelProperty(value = "成交")

  @Valid

  public List<BargainEntrust> getBargain() {
    return bargain;
  }

  public void setBargain(List<BargainEntrust> bargain) {
    this.bargain = bargain;
  }


  @Override
  public boolean equals(java.lang.Object o) {
    if (this == o) {
      return true;
    }
    if (o == null || getClass() != o.getClass()) {
      return false;
    }
    ApiResponseCustomerOverAllTradeNormalBigdataData apiResponseCustomerOverAllTradeNormalBigdataData = (ApiResponseCustomerOverAllTradeNormalBigdataData) o;
    return Objects.equals(this.jumpUrl, apiResponseCustomerOverAllTradeNormalBigdataData.jumpUrl) &&
        Objects.equals(this.transit, apiResponseCustomerOverAllTradeNormalBigdataData.transit) &&
        Objects.equals(this.info, apiResponseCustomerOverAllTradeNormalBigdataData.info) &&
        Objects.equals(this.hold, apiResponseCustomerOverAllTradeNormalBigdataData.hold) &&
        Objects.equals(this.entrust, apiResponseCustomerOverAllTradeNormalBigdataData.entrust) &&
        Objects.equals(this.bargain, apiResponseCustomerOverAllTradeNormalBigdataData.bargain);
  }

  @Override
  public int hashCode() {
    return Objects.hash(jumpUrl, transit, info, hold, entrust, bargain);
  }

  @Override
  public String toString() {
    StringBuilder sb = new StringBuilder();
    sb.append("class ApiResponseCustomerOverAllTradeNormalBigdataData {\n");
    
    sb.append("    jumpUrl: ").append(toIndentedString(jumpUrl)).append("\n");
    sb.append("    transit: ").append(toIndentedString(transit)).append("\n");
    sb.append("    info: ").append(toIndentedString(info)).append("\n");
    sb.append("    hold: ").append(toIndentedString(hold)).append("\n");
    sb.append("    entrust: ").append(toIndentedString(entrust)).append("\n");
    sb.append("    bargain: ").append(toIndentedString(bargain)).append("\n");
    sb.append("}");
    return sb.toString();
  }

  /**
   * Convert the given object to string with each line indented by 4 spaces
   * (except the first line).
   */
  private String toIndentedString(java.lang.Object o) {
    if (o == null) {
      return "null";
    }
    return o.toString().replace("\n", "\n    ");
  }
}

